GO ?= go
GOPATH := $(CURDIR)/_vendor:$(CURDIR)

.PHONY: all clean distclean

all: ip-chooser

gopath:
		@echo -n $(GOPATH)

ip-chooser:
		@echo "====== build ip-chooser ======"
		@$(GO) install -v ip-chooser
		@echo ""

clean:
		-rm -rf bin/ip-chooser

distclean: clean
		-rm -rf _vendor/pkg pkg
